<%--
  Created by IntelliJ IDEA.
  User: Vincent-Vic
  Date: 2020/3/13
  Time: 10:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html lang="cn">
<head>

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">

    <title>Paste Code - 码农flag</title>

    <!-- 主页框架bootstrap -->
    <link rel="stylesheet" href="https://img.iflags.cn/lib/paste/css/bootstrap.min.css">
    <!-- 主页样式 -->
    <link rel="stylesheet" href="https://img.iflags.cn/lib/paste/css/style.css">

    <link rel="stylesheet" type="text/css" href="https://s.iflags.cns/lib/paste/css/font-awesome.min.css">
    <!-- 代码块样式 -->
    <link href="https://s.iflags.cn/lib/highlight/css/${codeStyle}.css" rel="stylesheet">

</head>
<body>

<!-- PRE LOADER -->

<div class="preloader">
    <div class="sk-spinner sk-spinner-wordpress">
        <span class="sk-inner-circle"></span>
    </div>
</div>

<!-- Navigation section  -->

<!-- Navigation section  -->

<div class="navbar navbar-default navbar-static-top" role="navigation">
    <div class="container">

        <div class="navbar-header">
             <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                 <span class="icon icon-bar"></span>
                 <span class="icon icon-bar"></span>
                 <span class="icon icon-bar"></span>
            </button>
            <a href="https://www.iflags.cn/" class="navbar-brand" target="_blank">
                <img src="https://img.iflags.cn/lib/paste/img/logo_line_mini.png" />
            </a>
        </div>
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav navbar-right">
                <li class="active"><a href="https://www.iflags.cn/">主页</a></li>
                <li ><a href="https://paste.iflags.cn/">代码贴</a></li>
            </ul>
        </div>

    </div>
</div>

<!-- Home Section -->

<section id="titles">
    <div class="col-md-12 col-sm-12">
        <c:if test="${not empty codeTitle}">
            <h3>${codeTitle}</h3>
        </c:if>
        <c:if test="${not empty describe}">
            <h4>${describe}</h4>
        </c:if>
        <c:if test="${not empty date}">
            <h5>${date}</h5>
        </c:if>



    </div>
</section>

<!-- Portfolio Section -->

<section id="paste_code">
    <div class="container">
        <div>>
             <pre><code class="${language}" style="word-wrap: break-word; word-break: normal; ">${code}</code></pre>
        </div>
    </div>
</section>

<!-- Footer Section  -->

<footer>
    <div class="container">
        <div class="row">

            <div class="col-md-3 col-sm-3">
                <img src="https://img.iflags.cn/lib/paste/img/logo_line_min.png" />
            </div>

            <div class="col-md-4 col-sm-4">
                <p>iflags.cn 码农flag</p>
                <p>Vincent Vic</p>
            </div>

            <div class="col-md-offset-1 col-md-4 col-sm-offset-1 col-sm-3">
                <p>联系方式：</p>
                <p><a href="mailto:vincent-vic@qq.com">vincent-vic@qq.com</a></p>
            </div>

            <div class="clearfix col-md-12 col-sm-12">
                <hr>
            </div>

            <div class="col-md-6 col-sm-6">
                <div class="footer-copyright">
                    <p>Copyright © 2020 码农flag &nbsp;&nbsp; <a href="http://beian.miit.gov.cn" target="_blank">闽ICP备20002342号</a>   </p>
                </div>
            </div>

            <div class="col-md-6 col-sm-6">
                <ul class="social-icon">
                    <li><a href="https://github.com/Vincent-Vic" class="social fa fa-github" title="GitHub" target="_blank"></a></li>
                    <li><a href="https://gitee.com/Vincent-Vic/" class="social fa fa-git" title="Gitee" target="_blank"></a></li>
                    <li><a href="https://www.iflags.cn/" class="social fa fa-home" title="主页" target="_blank"></a></li>
                </ul>
            </div>

        </div>
    </div>
</footer>




<!-- SCRIPTS -->

<script src="https://s.iflags.cn/lib/paste/js/jquery.js"></script>
<script src="https://s.iflags.cn/lib/paste/js/bootstrap.min.js"></script>
<script src="https://s.iflags.cn/lib/paste/js/custom.js"></script>
<script src="https://s.iflags.cn/lib/highlight/js/highlight.pack.js"></script>
<script src="https://s.iflags.cn/lib/highlight/js/highlightjs-line-numbers.js"></script>
<script>
    hljs.initHighlightingOnLoad();
        <c:if test="${showLine}">
                hljs.initLineNumbersOnLoad();
        </c:if>
</script>
</body>
</html>
